import request from '@/utils/request'

// 获取仪表盘统计数据
export function getDashboardData() {
  return request({
    url: '/statistics/dashboard',
    method: 'get'
  })
}

// 获取书籍分类统计
export function getCategoryStatistics() {
  return request({
    url: '/statistics/categories',
    method: 'get'
  })
}
